//
//  ShareMenuView.h
//  bestkeep
//
//  Created by 武探 on 2017/1/6.
//  Copyright © 2017年 utouu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ShareManager.h"
#import <UMSocialCore/UMSocialCore.h>

@interface ShareMenuItemObject : NSObject

@property(nonatomic,strong,readonly) NSString *title;
@property(nonatomic,strong,readonly) NSString *image;
@property(nonatomic,assign,readonly) SharePlatformType platformType;

+(instancetype)shareMenuItemObjectWithType:(SharePlatformType)platformType;

@end



typedef void(^ShareMenuViewPlatformSelection)(SharePlatformType type);

@interface ShareMenuView : UIView

/**
 SharePlatformType
 */
@property(nonatomic,strong) NSArray<NSNumber*> *items;

-(void)showWithView:(UIView *)view platformSelectionBlock:(ShareMenuViewPlatformSelection)selectionBlock;

@end
